<%--
  Created by IntelliJ IDEA.
  User: Admin
  Date: 12/12 0012
  Time: 12:20
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
  <head>
    <title>$Title$</title>
    <script type="text/javascript">
      window.onload = function(){
        var city=document.getElementsByTagName("button")[0];
        city.onclick=function () {
          alert("helloworld");
        }
      }
    </script>
  </head>
  <body>
  <button> 点我</button>
  </body>
</html>
